#ifndef QDRIVELISTDIALOG_H
#define QDRIVELISTDIALOG_H

#include <QDialog>

#include <QTreeWidget>
#include <QTreeWidgetItem>

class QDriveListDialog : public QDialog
{
    Q_OBJECT
public:
    QDriveListDialog(QWidget* parent=0);

    QString     getSelect();
protected:
    QTreeWidget   *m_treeView;

    QMap<QString,QTreeWidgetItem*>  m_items;
protected slots:
    void    select(QTreeWidgetItem* item,int index);

protected:
    QString     m_select;
};

#endif // QDRIVELISTDIALOG_H
